home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
426-450
/
disk_436
/
aztecarp
/
source.lzh
/
fmalloc.c
< prev
next >
Wrap
Text File
|
1990-12-05
|
277b
|
18 lines
void *
fmalloc(size_t size,ULONG flags)
{
struct mem
{
struct DefaultTracker *tracker;
} *mp;
if(mp = ArpAllocMem(sizeof(struct mem) + size,flags | MEMF_PUBLIC))
{
mp -> tracker = LastTracker;
return((char *)((ULONG)mp + sizeof(struct mem)));
}
return(NULL);
}